﻿$(document).ready(function () {
    $("select[selectset=MI]").bind("change", function () { ChooiceMI($(this).attr("id"), $(this).val()); });
});

function ChooiceMI(currentControlId, selectedMI) {
    var hasvalue = (selectedMI != null && selectedMI.length > 0);

    // 更新当前选择的月收入
    if (hasvalue)
        $("#MonthlyIncomeValue").val(selectedMI);
    else 
        $("#MonthlyIncomeValue").val("");
}